package com.frain.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 
 * @ClassName: ServiceApplication 
 * @Description: 此工程用来测试提供服务到eureka注册。。和从config工程获取到配置信息
 * @author sinaif
 * @date 2018年8月6日 上午9:40:52 
 *
 */
@EnableDiscoveryClient
@EnableAutoConfiguration
@SpringBootApplication
@MapperScan(basePackages = "com.frain.springcloud.test.dao")
public class ServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceApplication.class, args);

    }

}
